<!-- 装修组件 -- 右侧操作按钮 -->
<template>
	<view class="me-design-edit">
		<view class="btn-icon uni-icons-closeempty" @click="edit('del')"></view>
		<view class="btn-icon uni-icons-arrowthinup" @click="edit('up')"></view>
		<view class="btn-icon uni-icons-arrowthindown" @click="edit('down')"></view>
	</view>
</template>

<script>
	export default {
		methods: {
			edit(type){
				this.$emit('edit', {type})
			}
		}
	}
</script>

<style lang="scss">
	.me-design-edit{
		z-index: 800;
		position: absolute;
		top: 0;
		right: 0;
		border: 1px solid #ff4d4f;
		text-align: center;
		color: #ff4d4f;
		cursor: pointer;
		.btn-icon{
			display: block;
			width: 20px;
			height: 20px;
			line-height: 20px;
			border-bottom: 1px solid #ff4d4f;
			&:last-child{
				border: none;
			}
		}
	}
</style>
